package com.example.lijinyuan.baseandroid.Activity;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

import com.example.lijinyuan.baseandroid.R;


/**
 * Created by lijinyuan on 15/10/26.
 */
public class ActivityLife extends Activity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_life);
        Log.d("onCreate", "onCreate");
    }
    @Override
    protected void onStart() {
        super.onStart();
        Log.d("onStart","onStart");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Log.d("onRestart", "onRestart");

    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.d("onResume", "onResume");

    }

    @Override
    protected void onPause() {
        super.onPause();
        Log.d("onPause", "onPause");

    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.d("onStop", "onStop");

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.d("onDestroy", "onDestroy");

    }
}
